Carbon


PBGetVolAsync

Header: Files.h Carbon status: Unsupported

Determines the default volume and default directory.

OSErr PBGetVolAsync (
    ParmBlkPtr paramBlock
);
paramBlock

A pointer to a basic File Manager parameter block.

function result

A result code.

DISCUSSION

The relevant fields of the parameter block are:

If a default directory was set with a previous call to PBSetVolAsync, a pointer to its name is returned in ioNamePtr and its working directory reference number is returned in ioVRefNum. However, if, in a previous call to HSetVol (or PBHSetVolAsync), a working directory reference number was passed in, PBGetVolAsync returns a volume reference number in the ioVRefNum field.

AVAILABILITY

Not supported in Carbon. Not available in Carbon.

CARBON NOTES

Obsolete. Use PBHGetVolAsync instead.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)